package com.zlzlib.vuePage.bean.vo;

import com.zlzlib.vuePage.annotation.VueTableItem;
import com.zlzlib.vuePage.bean.enums.AlignEnum;
import com.zlzlib.vuePage.bean.enums.TableShowTypeEnum;
import com.zlzlib.vuePage.bean.enums.WidthEnum;
import lombok.Data;

/**
 * 测试的页面列表
 *
 * @DateTime: 2024/5/23 10:54
 * @Author zlz
 * @Version 1.0
 */
@Data
public class DemoTableVo {

    @VueTableItem(title = "编号")
    private Long id;

    @VueTableItem(title = "名称",align = AlignEnum.center)
    private String name;

    @VueTableItem(title = "备注",align = AlignEnum.left,line = 4,widthType = WidthEnum.min)
    private String note;

    @VueTableItem(title = "图标",align = AlignEnum.center,showType = TableShowTypeEnum.icon,width = 90)
    private String icon;

    @VueTableItem(title = "头像",align = AlignEnum.center,showType = TableShowTypeEnum.img,width = 100)
    private String head;
}
